package cn.com.hhrcw.service;

import cn.com.hhrcw.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author jiangdong
 * @since 2020-10-30
 */
public interface ISysUserService extends IService<SysUser> {
    /**
     * getUserByName
     *
     * @param username
     * @return
     */
    SysUser getUserByName(String username);

    /**
     * 根据手机号获取用户名和密码
     *
     * @param phone
     * @return org.jeecg.modules.system.entity.SysUser
     */
    SysUser getUserByPhone(String phone);

}
